package org.smallreunion.form;

import java.util.Map;

import org.slim3.util.BeanUtil;

/**
 * BBSPostForm
 * @author Sinmetal
 *
 */
public class BBSPostForm {

    private String content;

    /**
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content セットする content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * インスタンス生成
     * @param requestMap
     * @return
     */
    public static BBSPostForm getInstance(Map<String, Object> requestMap) {
        BBSPostForm form = new BBSPostForm();
        BeanUtil.copy(requestMap, form);
        return form;
    }
}
